//此文件是专门用来写接口请求函数的
import Ajax from '@/utils/request'
import mockAjax from '@/utils/mockRequest'
export const reqCategoryList=()=>{
    //一定要写return 否则拿不到数据
      return Ajax({
          url:'/product/getBaseCategoryList',
          method:'GET'
      })
    
}
export const reqBannerList=()=>{
    //一定要写return 否则拿不到数据
      return mockAjax({
          url:'/banner',
          method:'GET'
      })
    
}
export const reqFloorList=()=>{
    //一定要写return 否则拿不到数据
      return mockAjax({
          url:'/floor',
          method:'GET'
      })
    
}
// reqCategoryList()